package com.weigj.model;

import com.jfinal.plugin.activerecord.Model;

public class Employee extends Model<Employee>{
	public static final Employee dao = new Employee();
	public String findEmpNameById(String id){
		Employee e = null;
		String sql = "select * from app_caremployee e where e.emplid=?";
		e=dao.findFirst(sql,id);
		return e.getStr("EMPLNAME"); 
	}
}
